<%@page import="upcweb.modelo.ClsTipoDocumento"%>
<%@page import="upcweb.negocio.BsResponsableFamilia"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Mantenimiento Responsable de Familia</title>
</head>
<body>
<form id ="frm_MantResponsable" name="frm_MantResponsable" action="listarResponsable.html" method="POST">
	 <table style="width: 100%;">
            <tr>
                <td>
                    Nombres:
                </td>
                <td>
                    <input id="txt_Nombres" name="txt_Nombres" type="text" value="Luis" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Apellido Paterno:
                </td>
                <td>
                    <input id="txt_ApePaterno" name="txt_ApePaterno" type="text" value="Olivera" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Apellido Materno:
                </td>
                <td>
                    <input id="txt_ApeMaterno" name="txt_ApeMaterno" type="text" value="Aguilar" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Sexo:
                </td>
                <td>
                
                	<select id="cbo_Sexo" name="cbo_Sexo">
                		<option value="">--Seleccione--</option>
	                	<option value="M">Masculino</option>
	                	<option value="F">Femenino</option>
	                </select>
	                  
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Correo:
                </td>
                <td>
                    <input id="txt_correo" name="txt_correo" type="text" value="lolivera@hotmail.com" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Celular
                </td>
                <td>
                    <input id="txt_Celular" name="txt_Celular" type="text" value="997889987" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Direccion:
                </td>
                <td>
                    <input id="txt_Direccion" name="txt_Direccion" type="text" value="Urb. Carr. Central" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Tipo Documento:
                </td>
                <td>
                     <select id="cbo_TipoDocumento" name="cbo_TipoDocumento">	                		                	
                		<option value="">--Seleccione--</option>
                		<%
							ArrayList<ClsTipoDocumento> arrTipoDoc = new BsResponsableFamilia().ListarTipoDocumento();
							for(ClsTipoDocumento obj: arrTipoDoc){
						%>																					
							<option value=<%=obj.getCo_tipo_documento() %>><%=obj.getNo_tipo_documento() %></option>	                	
						<%	
							}
						%>                	               	                		                
	                </select>  
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Numero Documento:
                </td>
                <td>
                    <input id="txt_NumeroDocumento" name="txt_NumeroDocumento" type="text" value="45820792" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    Password:
                </td>
                <td>
                    <input id="txt_Password" name="txt_Password" type="password" value="123456" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
           <tr>
				<td>
					<input type="button" id="btn_Registrar" name="btn_Registrar" value="Guardar" class="btn btn-primary" onclick="registrarResponsable();"/>
				</td>
				<td>
					<input type="button" id="btn_Cancelar" name="btn_Cancelar" value="Cancelar" class="btn btn-primary" onclick="regresarListResp(0);" />
				</td>
				<td>
				</td>
			</tr>
        </table>
	</form>
</body>
</html>